package com.sjj.shopping.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * className:WebSocketConfig
 * Package:com.sjj.shopping.config
 * Description:
 *
 * @Date: 2022/8/14 21:05
 * @Auther: wssky19890629@163.com
 */

@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }
}
